home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / fretext1.sit / Free Text Help_Services v1.01 / card_26028.txt < prev    next >
Text File  |  1990-04-13  |  1KB  |  29 lines

  1. -- card: 26028 from stack: in.01
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3166
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  *      (The '+1' is to match up with HyperCard's 1-based counting
  11.  *      convention, rather than the 0-based C convention!!)
  12.  *      If the file isn't big enough or if textPtr is too near the
  13.  *      beginning or end of the file, cut off the retrieved text
  14.  *      at that boundary and insert the words {beginning of database}
  15.  *      or {end of database}.  FILTER OUT ANY '\0' characters in
  16.  *      the text that is returned, to avoid problems; also
  17.  *      filter out any tabs, since HC mistreats them in its display;
  18.  *      and turn any linefeeds ('\n' = 0x0A) to returns ('\r' = 0x0D),
  19.  *      for compatibility in reading indexed files from UNIX hosts.
  20.  *      Restrict textChunkSize to <32000 bytes.  After the text, on
  21.  *      a separate line, return three numbers:  the byte number of
  22.  *      the first char returned relative to the beginning of the text
  23.  *      file, the actual offset within the characters returned
  24.  *      of the originally-requested textPtr, and the byte number
  25.  *      of the character after the last char returned relative to
  26.  *      the beginning of the text file.
  27.  */
  28.  
  29. (End of Free Text XFCN documentation excerpts)